﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SIMA.Core.Data.Entity;

namespace SIMA.Core.EventArgs
{
    [Serializable]
    public class ValidationEventArgs:System.EventArgs
    {
        #region Fields

        private XmlEntity result;
        private DateTime timeValidate;
        
        #endregion

        #region Properties

        public XmlEntity Result
        {
            get
            {
                return result;
            }
        }

        public DateTime TimeValidate
        {
            get
            {
                return timeValidate;
            }
        }

        #endregion

        #region Constructor

        public ValidationEventArgs(XmlEntity _result)
        {
            this.result = _result;
            this.timeValidate = DateTime.Now;
        }

        #endregion

    }
}
